/*
 * device.h
 *
 *  Created on: 2017
 *      Author: zjm
 */

#ifndef TABS_DEVICE_H_
#define TABS_DEVICE_H_

int get_device(struct mg_connection *nc,struct http_message *hm);
int set_device(struct mg_connection *nc,struct http_message *hm);

#define DEVICE_PARAM_LIST

#define DEVICE_ACTION_LIST \
ACTION_ITEM(get_device),\
ACTION_ITEM(set_device),

#endif /* TABS_DEVICE_H_ */
